import connexion
from OpenSSL import SSL

def get_about():
    return {"version": "v0.1", "about": "This is an API gateway to the private cloud."}, 200

if __name__ == '__main__':
    key_path = "release/server.key"
    crt_path = "release/server.crt"
    context = (crt_path, key_path)
    app = connexion.App(__name__, specification_dir='swagger/')
    app.add_api('swagger.yaml')
    app.run(port=8443, debug=True, ssl_context=context)

